<?php
$return['nogohome']=1;
$return['plugin_icon']=$return['pluginset']['logo'];
if($_SESSION['role_id']==4){
	$worker=pdo_get('jy_yiliao_worker_zhuli',array('uniacid'=>$_SESSION['uniacid'],'id'=>$_SESSION['userid']));
	$this->worker_id=$worker['workerid'];
}elseif($_SESSION['userid']){
	$worker=pdo_get('jy_yiliao_worker',array('uniacid'=>$_SESSION['uniacid'],'id'=>$_SESSION['userid']));
	$this->worker_id=$worker['id'];
}elseif($_SESSION['uid']){
	$worker=pdo_get('jy_yiliao_worker',array('uniacid'=>$_SESSION['uniacid'],'mid'=>$_SESSION['uid']));
	$_SESSION['userid']=$worker['id'];
	$_SESSION['role_id']=$worker['role_id'];
	$_SESSION['member']['username']=$worker['username'];
	$this->worker_id=$worker['id'];
}